home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / f2c / may_5_92.lha / f2c.VMay_5_1992 / libI77 / makefile < prev    next >
Makefile  |  1992-05-07  |  2KB  |  93 lines

  1. .SUFFIXES: .c .o
  2.  
  3. CC = acc
  4. CFLAGS = -DSkip_f2c_Undefs -O
  5. SHELL = /bin/sh
  6.  
  7. # compile, then strip unnecessary symbols
  8. .c.o:
  9.     $(CC) $(CFLAGS) -c $*.c
  10.     ld -r -x -o $*.xxx $*.o
  11.     mv $*.xxx $*.o
  12.  
  13. OBJ =    Version.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
  14.     fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
  15.     rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o uio.o \
  16.     util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o
  17. libI77.a:    $(OBJ)
  18.         ar r libI77.a $?
  19.         ranlib libI77.a
  20. install:    libI77.a
  21.     cp libI77.a /usr/lib/libI77.a
  22.     ranlib /usr/lib/libI77.a
  23.  
  24. Version.o: Version.c
  25.     $(CC) -c Version.c
  26.  
  27.  
  28. clean:
  29.     rm -f $(OBJ) libI77.a
  30.  
  31. clobber:    clean
  32.     rm -f libI77.a
  33.  
  34. backspace.o:    fio.h
  35. close.o:    fio.h
  36. dfe.o:        fio.h
  37. dfe.o:        fmt.h
  38. due.o:        fio.h
  39. endfile.o:    fio.h
  40. err.o:        fio.h
  41. fmt.o:        fio.h
  42. fmt.o:        fmt.h
  43. iio.o:        fio.h
  44. iio.o:        fmt.h
  45. ilnw.o:        fio.h
  46. ilnw.o:        lio.h
  47. inquire.o:    fio.h
  48. lread.o:    fio.h
  49. lread.o:    fmt.h
  50. lread.o:    lio.h
  51. lread.o:    fp.h
  52. lwrite.o:    fio.h
  53. lwrite.o:    fmt.h
  54. lwrite.o:    lio.h
  55. open.o:        fio.h
  56. rdfmt.o:    fio.h
  57. rdfmt.o:    fmt.h
  58. rdfmt.o:    fp.h
  59. rewind.o:    fio.h
  60. rsfe.o:        fio.h
  61. rsfe.o:        fmt.h
  62. rsli.o:        fio.h
  63. rsli.o:        lio.h
  64. rsne.o:        fio.h
  65. rsne.o:        lio.h
  66. sfe.o:        fio.h
  67. sue.o:        fio.h
  68. uio.o:        fio.h
  69. util.o:        fio.h
  70. wref.o:        fio.h
  71. wref.o:        fmt.h
  72. wref.o:        fp.h
  73. wrtfmt.o:    fio.h
  74. wrtfmt.o:    fmt.h
  75. wsfe.o:        fio.h
  76. wsfe.o:        fmt.h
  77. wsle.o:        fio.h
  78. wsle.o:        fmt.h
  79. wsle.o:        lio.h
  80. wsne.o:        fio.h
  81. wsne.o:        lio.h
  82. xwsne.o:    fio.h
  83. xwsne.o:    lio.h
  84. xwsne.o:    fmt.h
  85.  
  86. check:
  87.     xsum Notice README Version.c backspace.c close.c dfe.c dolio.c \
  88.     due.c endfile.c err.c fio.h fmt.c fmt.h fmtlib.c fp.h iio.c \
  89.     ilnw.c inquire.c lio.h lread.c lwrite.c makefile open.c \
  90.     rdfmt.c rewind.c rsfe.c rsli.c rsne.c sfe.c sue.c typesize.c \
  91.     uio.c util.c wref.c wrtfmt.c wsfe.c wsle.c wsne.c xwsne.c >zap
  92.     cmp zap libI77.xsum && rm zap || diff libI77.xsum zap
  93.